<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE HTML>
<ui:composition 
	template="/dinamic/template/template.xhtml" 
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	 >
		<ui:define name="conteudo">
			<p:separator/>
			<p:outputLabel styleClass="indexLabel" value="#{mensagem['mensagem.boas.vindas']}" /> 
			
			<h:panelGrid columns="1" cellspacing="5" >
			<p:spacer height="30"/>
			
			<p:outputLabel styleClass="indexLabel" value="#{mensagem['ja.cadastrado']}" rendered="#{not menuManagedBean.logado}"/>			
			<p:commandLink styleClass="indexLink" value="#{mensagem['fazer.login']}" action="#{menuManagedBean.paginaLogin()}" rendered="#{not menuManagedBean.logado}"/>
			
			<p:outputLabel styleClass="indexLabel" value="#{mensagem['registrese.agora']}" rendered="#{not menuManagedBean.logado}"/>	
			<p:commandLink styleClass="indexLink" value="#{mensagem['registrarse']}" action="#{menuManagedBean.paginaCadastro()}" rendered="#{not menuManagedBean.logado}"/>
			
			<p:outputLabel styleClass="indexLabel" value="#{mensagem['esqueceu.senha']}" rendered="#{not menuManagedBean.logado}"/>	
			<p:commandLink styleClass="indexLink" value="#{mensagem['recuperar.senha']}" action="#{menuManagedBean.recuperaSenha()}" rendered="#{not menuManagedBean.logado}"/>
			
			</h:panelGrid>
		</ui:define>
	</ui:composition>

